package com.example.crmdemo.Crm.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.util.Date;

@Data
@TableName("person")
public class Person {
    @TableId(value = "p_id", type = IdType.AUTO)
    private Long id;

    @TableField("p_name")
    private String name;

    @TableField("province")
    private String province;

    @TableField("p_area")
    private String area;

    @TableField("pcreate_time")
    private Date createTime;

    @TableField("operator")
    private String operator;
}
